package net.idugic.dto;

import java.io.Serializable;

public class ProfileDTO implements Serializable {

	private static final long serialVersionUID = -2114825935482723416L;

	private Integer id = null;

	private String first_name = null;

	private String last_name = null;

	private String password = null;

	private String g_mail = null;

	private Integer interests = null;

	private Integer occupation = null;

	private Integer country = null;

	private String town = null;

	private Integer male = null;

	private Integer avatar = null;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getFirst_name() {
		return first_name;
	}

	public void setFirst_name(String first_name) {
		this.first_name = first_name;
	}

	public String getLast_name() {
		return last_name;
	}

	public void setLast_name(String last_name) {
		this.last_name = last_name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getG_mail() {
		return g_mail;
	}

	public void setG_mail(String g_mail) {
		this.g_mail = g_mail;
	}

	public Integer getInterests() {
		return interests;
	}

	public void setInterests(Integer interests) {
		this.interests = interests;
	}

	public Integer getOccupation() {
		return occupation;
	}

	public void setOccupation(Integer occupation) {
		this.occupation = occupation;
	}

	public Integer getCountry() {
		return country;
	}

	public void setCountry(Integer country) {
		this.country = country;
	}

	public String getTown() {
		return town;
	}

	public void setTown(String town) {
		this.town = town;
	}

	public Integer getMale() {
		return male;
	}

	public void setMale(Integer male) {
		this.male = male;
	}

	public Integer getAvatar() {
		return avatar;
	}

	public void setAvatar(Integer avatar) {
		this.avatar = avatar;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		final ProfileDTO other = (ProfileDTO) obj;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		return true;
	}

}
